

window = {};
!function(t) {

    var r = {};
    function o(e) {
        if (r[e])
            return r[e].exports;

        // window.result = window.result + '"'+ e + '":' + t[e] + '' + ','    
        var n = r[e] = {
            "i": e,
            "l": !1,
            "exports": {}
        };
        console.log(e)
        return t[e].call(n.exports, n, n.exports, o),
        n.l = !0,
        n.exports
    }
    o.r = function(e) {
        "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, {
            value: "Module"
        }),
        Object.defineProperty(e, "__esModule", {
            value: !0
        })
    }
    o.n = function(e) {
        var t = e && e.__esModule ? function() {
            return e.default
        }
        : function() {
            return e
        }
        ;
        return o.d(t, "a", t),
        t
    }
    o.d = function(e, t, r) {
        o.o(e, t) || Object.defineProperty(e, t, {
            enumerable: !0,
            get: r
        })
    }
    o.o = function(e, t) {
        return Object.prototype.hasOwnProperty.call(e, t)
    }
    window.tt = o;
	
}(
    {286: function(e, t, n) {
        "use strict";
        Object.defineProperty(t, "__esModule", {
            value: !0
        });
        var o = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) {
            return typeof e
        }
        : function(e) {
            return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e
        }
          , r = function(e) {
            return e && e.__esModule ? e : {
                default: e
            }
        }(n(287))
          , a = function() {
            for (var e = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : 32, t = "ABCDEFGHJKMNPQRSTWXYZabcdefhijkmnprstwxyz2345678", n = t.length, o = "", r = 0; r < e; r += 1)
                o += t.charAt(Math.floor(Math.random() * n));
            return o
        }
          , i = function(e) {
            var t = void 0 === (t = (e = function(e, t) {
                if (Array.isArray(e))
                    return e;
                if (Symbol.iterator in Object(e))
                    return function(e, t) {
                        var n = []
                          , o = !0
                          , r = !1
                          , a = void 0;
                        try {
                            for (var i, u = e[Symbol.iterator](); !(o = (i = u.next()).done) && (n.push(i.value),
                            !t || n.length !== t); o = !0)
                                ;
                        } catch (e) {
                            r = !0,
                            a = e
                        } finally {
                            try {
                                !o && u.return && u.return()
                            } finally {
                                if (r)
                                    throw a
                            }
                        }
                        return n
                    }(e, t);
                throw new TypeError("Invalid attempt to destructure non-iterable instance")
            }(e, 2))[0]) ? "" : t
              , n = e = void 0 === (e = e[1]) ? "" : e;
            return null !== e && "object" === (void 0 === e ? "undefined" : o(e)) ? n = JSON.stringify(e) : void 0 === n && (n = ""),
            encodeURIComponent(t) + "=" + encodeURIComponent(n)
        };
        t.default = function(e, t) {
            t = {
                accessKeyId: t.id,
                accessKeySecret: t.secret,
                nonce: a(32),
                timestamp: Math.ceil((new Date).getTime() / 1e3)
            };
            var n = e.query ? "&query=" + function(e) {
                return (e = Object.entries(e).map(i)).sort(),
                e.join("&").replace(/\'/g, "%27")
            }(e.query) : ""
              , o = e.uri.split("//")[1].split("/")[0]
              , u = e.uri.split("?")[0].split("//")[1].replace(o, "");
            return e = function(e, t) {
                return function(e) {
                    for (var t = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", n = "", o = 0, r = 0, a = 0; a < e.length; ++a)
                        o = o << 4 | ("A" <= e[a] && e[a] <= "Z" ? e.charCodeAt(a) - 55 : "a" <= e[a] && e[a] <= "z" ? e.charCodeAt(a) - 87 : e.charCodeAt(a) - 48),
                        6 <= (r += 4) && (n += t[o >>> (r -= 6)],
                        o &= ~(-1 << r));
                    0 < r && (n += t[o <<= 6 - r]);
                    var i = n.length % 4;
                    if (0 < i)
                        for (var u = 0; u < 4 - i; ++u)
                            n += "=";
                    return n
                }(r.default.HmacSHA256(e, t).toString())
            }(o = "accessKeyId=" + t.accessKeyId + "&host=" + o + "&method=" + e.method.toUpperCase() + "&nonce=" + t.nonce + "&path=" + u + n + "&timestamp=" + t.timestamp, t.accessKeySecret),
            "LJAPPVI accessKeyId=" + t.accessKeyId + "; nonce=" + t.nonce + "; timestamp=" + t.timestamp + "; signature=" + e
        }
    },
    287: function(e, t, n) {
        "use strict";
        o = Math,
        h = (y = {}).lib = {},
        r = h.Base = {
            extend: function(e) {
                p.prototype = this;
                var t = new p;
                return e && t.mixIn(e),
                t.$super = this,
                t
            },
            create: function() {
                var e = this.extend();
                return e.init.apply(e, arguments),
                e
            },
            init: function() {},
            mixIn: function(e) {
                for (var t in e)
                    e.hasOwnProperty(t) && (this[t] = e[t]);
                e.hasOwnProperty("toString") && (this.toString = e.toString)
            },
            clone: function() {
                return this.$super.extend(this)
            }
        },
        a = h.WordArray = r.extend({
            init: function(e, t) {
                e = this.words = e || [],
                this.sigBytes = null != t ? t : 4 * e.length
            },
            toString: function(e) {
                return (e || i).stringify(this)
            },
            concat: function(e) {
                var t = this.words
                  , n = e.words
                  , o = this.sigBytes;
                if (e = e.sigBytes,
                this.clamp(),
                o % 4)
                    for (var r = 0; r < e; r++)
                        t[o + r >>> 2] |= (n[r >>> 2] >>> 24 - r % 4 * 8 & 255) << 24 - (o + r) % 4 * 8;
                else if (65535 < n.length)
                    for (r = 0; r < e; r += 4)
                        t[o + r >>> 2] = n[r >>> 2];
                else
                    t.push.apply(t, n);
                return this.sigBytes += e,
                this
            },
            clamp: function() {
                var e = this.words
                  , t = this.sigBytes;
                e[t >>> 2] &= 4294967295 << 32 - t % 4 * 8,
                e.length = o.ceil(t / 4)
            },
            clone: function() {
                var e = r.clone.call(this);
                return e.words = this.words.slice(0),
                e
            },
            random: function(e) {
                for (var t = [], n = 0; n < e; n += 4)
                    t.push(4294967296 * o.random() | 0);
                return a.create(t, e)
            }
        }),
        f = y.enc = {},
        i = f.Hex = {
            stringify: function(e) {
                for (var t = e.words, n = (e = e.sigBytes,
                []), o = 0; o < e; o++) {
                    var r = t[o >>> 2] >>> 24 - o % 4 * 8 & 255;
                    n.push((r >>> 4).toString(16)),
                    n.push((15 & r).toString(16))
                }
                return n.join("")
            },
            parse: function(e) {
                for (var t = e.length, n = [], o = 0; o < t; o += 2)
                    n[o >>> 3] |= parseInt(e.substr(o, 2), 16) << 24 - o % 8 * 4;
                return a.create(n, t / 2)
            }
        },
        u = f.Latin1 = {
            stringify: function(e) {
                for (var t = e.words, n = (e = e.sigBytes,
                []), o = 0; o < e; o++)
                    n.push(String.fromCharCode(t[o >>> 2] >>> 24 - o % 4 * 8 & 255));
                return n.join("")
            },
            parse: function(e) {
                for (var t = e.length, n = [], o = 0; o < t; o++)
                    n[o >>> 2] |= (255 & e.charCodeAt(o)) << 24 - o % 4 * 8;
                return a.create(n, t)
            }
        },
        c = f.Utf8 = {
            stringify: function(e) {
                try {
                    return decodeURIComponent(escape(u.stringify(e)))
                } catch (e) {
                    throw Error("Malformed UTF-8 data")
                }
            },
            parse: function(e) {
                return u.parse(unescape(encodeURIComponent(e)))
            }
        },
        s = h.BufferedBlockAlgorithm = r.extend({
            reset: function() {
                this._data = a.create(),
                this._nDataBytes = 0
            },
            _append: function(e) {
                "string" == typeof e && (e = c.parse(e)),
                this._data.concat(e),
                this._nDataBytes += e.sigBytes
            },
            _process: function(e) {
                var t = this._data
                  , n = t.words
                  , r = t.sigBytes
                  , i = this.blockSize
                  , u = r / (4 * i);
                if (e = (e ? o.ceil(u) : o.max((0 | u) - this._minBufferSize, 0)) * i,
                r = o.min(4 * e, r),
                e) {
                    for (var c = 0; c < e; c += i)
                        this._doProcessBlock(n, c);
                    c = n.splice(0, e),
                    t.sigBytes -= r
                }
                return a.create(c, r)
            },
            clone: function() {
                var e = r.clone.call(this);
                return e._data = this._data.clone(),
                e
            },
            _minBufferSize: 0
        }),
        h.Hasher = s.extend({
            init: function() {
                this.reset()
            },
            reset: function() {
                s.reset.call(this),
                this._doReset()
            },
            update: function(e) {
                return this._append(e),
                this._process(),
                this
            },
            finalize: function(e) {
                return e && this._append(e),
                this._doFinalize(),
                this._hash
            },
            clone: function() {
                var e = s.clone.call(this);
                return e._hash = this._hash.clone(),
                e
            },
            blockSize: 16,
            _createHelper: function(e) {
                return function(t, n) {
                    return e.create(n).finalize(t)
                }
            },
            _createHmacHelper: function(e) {
                return function(t, n) {
                    return d.HMAC.create(e, n).finalize(t)
                }
            }
        }),
        d = y.algo = {};
        var o, r, a, i, u, c, s, d, l, f = y;
        function p() {}
        var g = Math
          , h = f
          , m = (y = h.lib).WordArray
          , y = y.Hasher
          , v = h.algo
          , _ = []
          , b = [];
        function x(e) {
            return 4294967296 * (e - (0 | e)) | 0
        }
        for (var w = 2, j = 0; j < 64; )
            !function(e) {
                for (var t = g.sqrt(e), n = 2; n <= t; n++)
                    if (!(e % n))
                        return;
                return 1
            }(w) || (j < 8 && (_[j] = x(g.pow(w, .5))),
            b[j] = x(g.pow(w, .3333333333333333)),
            j++),
            w++;
        var S = [];
        v = v.SHA256 = y.extend({
            _doReset: function() {
                this._hash = m.create(_.slice(0))
            },
            _doProcessBlock: function(e, t) {
                for (var n, o, r = this._hash.words, a = r[0], i = r[1], u = r[2], c = r[3], s = r[4], d = r[5], l = r[6], f = r[7], p = 0; p < 64; p++)
                    S[p] = p < 16 ? 0 | e[t + p] : (((n = S[p - 15]) << 25 | n >>> 7) ^ (n << 14 | n >>> 18) ^ n >>> 3) + S[p - 7] + (((o = S[p - 2]) << 15 | o >>> 17) ^ (o << 13 | o >>> 19) ^ o >>> 10) + S[p - 16],
                    n = f + ((s << 26 | s >>> 6) ^ (s << 21 | s >>> 11) ^ (s << 7 | s >>> 25)) + (s & d ^ ~s & l) + b[p] + S[p],
                    o = ((a << 30 | a >>> 2) ^ (a << 19 | a >>> 13) ^ (a << 10 | a >>> 22)) + (a & i ^ a & u ^ i & u),
                    f = l,
                    l = d,
                    d = s,
                    s = c + n | 0,
                    c = u,
                    u = i,
                    i = a,
                    a = n + o | 0;
                r[0] = r[0] + a | 0,
                r[1] = r[1] + i | 0,
                r[2] = r[2] + u | 0,
                r[3] = r[3] + c | 0,
                r[4] = r[4] + s | 0,
                r[5] = r[5] + d | 0,
                r[6] = r[6] + l | 0,
                r[7] = r[7] + f | 0
            },
            _doFinalize: function() {
                var e = this._data
                  , t = e.words
                  , n = 8 * this._nDataBytes
                  , o = 8 * e.sigBytes;
                t[o >>> 5] |= 128 << 24 - o % 32,
                t[15 + (64 + o >>> 9 << 4)] = n,
                e.sigBytes = 4 * t.length,
                this._process()
            }
        }),
        h.SHA256 = y._createHelper(v),
        h.HmacSHA256 = y._createHmacHelper(v),
        l = f.enc.Utf8,
        f.algo.HMAC = f.lib.Base.extend({
            init: function(e, t) {
                e = this._hasher = e.create(),
                "string" == typeof t && (t = l.parse(t));
                var n = e.blockSize
                  , o = 4 * n;
                t.sigBytes > o && (t = e.finalize(t)),
                e = this._oKey = t.clone(),
                t = this._iKey = t.clone();
                for (var r = e.words, a = t.words, i = 0; i < n; i++)
                    r[i] ^= 1549556828,
                    a[i] ^= 909522486;
                e.sigBytes = t.sigBytes = o,
                this.reset()
            },
            reset: function() {
                var e = this._hasher;
                e.reset(),
                e.update(this._iKey)
            },
            update: function(e) {
                return this._hasher.update(e),
                this
            },
            finalize: function(e) {
                var t = this._hasher;
                return e = t.finalize(e),
                t.reset(),
                t.finalize(this._oKey.clone().concat(e))
            }
        }),
        e.exports = f
    }}
)
n=window.tt
c = s(n(286));
function s(e) {
    return e && e.__esModule ? e : {
        default: e
    }
}
var d, f = /\.(png|jpg|jpeg|gif)/, p = {}, g = !1;

function get_sign(id) {
    e = 'https://wxapp.api.ke.com/es/ershouc/xcx/xiaoqu/detail/part0'
    t = 'GET'
    n={
        "id": id,
        "shareAgentUcid": "",
        "sign": ""
    }
    var o = {};
    return false || false || false? (o.secret = "iapBRc1ul5h9+osQ9JX+m32useOFvg9V",
    o.id = "tHW4Q3u2haWMLNfP") : (o.secret = "L307MyoDYH45pV3Epndn2EtPKzpkk7J1",
    o.id = "7dIaKkMkwYnjk8jc"),
    (0,
    c.default)({
        uri: e,
        method: t,
        query: "POST" === t ? "" : n
    }, o)
}
id='3011052832011'
sign = get_sign(id)
console.log(sign)